/*
 * User: user
 * Date: 12/12/2007
 * Time: 15:38:48
 */
package org.conann.model.services;

import org.conann.bindings.IrrelevantAnnotation;
import org.conann.bindings.LoggedIn;
import org.conann.bindings.PayBy;
import static org.conann.bindings.PaymentType.CHEQUE;
import org.conann.model.User;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.webbeans.stereotype.Component;

@IrrelevantAnnotation
@Component
@PayBy(CHEQUE)
public class ChequePaymentProcessor extends AbstractPaymentProcessor {

    private static final Logger log = LoggerFactory.getLogger(ChequePaymentProcessor.class);

    @LoggedIn
    private User user;

    public void pay() {
        log.info("Paid by cheque");
    }
}